//
//  UITextView+NED.m
//  NEDKit
//
//  Created by 林宁宁 on 2021/6/15.
//

#import "UITextView+NED.h"
#import <NEDConstant/NEDConstant+Method.h>
#import "UIView+NEDInputAccessory.h"

@implementation UITextView (NED)

+(void)load{
    ned_swizzleMethod(self, @selector(keyboardAppearance), @selector(ned_keyboardAppearance));
//    ned_swizzleMethod(self, @selector(inputAccessoryView), @selector(ned_inputAccessoryView));
}

-(UIKeyboardAppearance)ned_keyboardAppearance{
    return UIKeyboardAppearanceDark;
}

//-(UIView *)ned_inputAccessoryView{
//    UIView * v = [self ned_inputAccessoryView];
//    if(!v){
//        [self showAccessoryDown:nil];
//        v = [self ned_inputAccessoryView];
//    }
//    return v;
//}

@end
